package com.ruoyi.registration.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报名信息对象 registration
 * 
 * @author ruoyi
 * @date 2025-06-23
 */
public class Registration extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long regisId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String userName;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 报名时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date regisTime;

    /** 待缴纳费用 */
    @Excel(name = "待缴纳费用")
    private Long payFees;

    /** 报名的课程 */
    @Excel(name = "报名的课程")
    private String courseId;

    /** 缴费情况 */
    @Excel(name = "缴费情况")
    private Long status;

    /** 学历信息 */
    @Excel(name = "学历信息")
    private String education;

    /** 监护人联系电话 */
    @Excel(name = "监护人联系电话")
    private String emergency;

    /** 性别 */
    @Excel(name = "性别")
    private Long gender;

    private  String stuId;

    public String getStuaddr() {
        return stuaddr;
    }

    public String getStuId() {
        return stuId;
    }

    public void setStuId(String stuId) {
        this.stuId = stuId;
    }

    public void setStuaddr(String stuaddr) {
        this.stuaddr = stuaddr;
    }

    public String getStufamilyname() {
        return stufamilyname;
    }

    public void setStufamilyname(String stufamilyname) {
        this.stufamilyname = stufamilyname;
    }

    public String getStucardnumber() {
        return stucardnumber;
    }

    public void setStucardnumber(String stucardnumber) {
        this.stucardnumber = stucardnumber;
    }

    /** 用户账号 */
    @Excel(name = "用户账号")
    private Long uid;
    private String stuaddr;
    private  String stufamilyname;
    private String stucardnumber;
    /** 学生来源 */
    @Excel(name = "学生来源")
    private String studentSource;

    public void setRegisId(Long regisId) 
    {
        this.regisId = regisId;
    }

    public Long getRegisId() 
    {
        return regisId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setRegisTime(Date regisTime) 
    {
        this.regisTime = regisTime;
    }

    public Date getRegisTime() 
    {
        return regisTime;
    }

    public void setPayFees(Long payFees) 
    {
        this.payFees = payFees;
    }

    public Long getPayFees() 
    {
        return payFees;
    }

    public String getCourseId() {
        return courseId;
    }

    public void setCourseId(String courseId) {
        this.courseId = courseId;
    }

    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setEducation(String education) 
    {
        this.education = education;
    }

    public String getEducation() 
    {
        return education;
    }

    public void setEmergency(String emergency) 
    {
        this.emergency = emergency;
    }

    public String getEmergency() 
    {
        return emergency;
    }

    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }

    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }

    public void setStudentSource(String studentSource) 
    {
        this.studentSource = studentSource;
    }

    public String getStudentSource() 
    {
        return studentSource;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("regisId", getRegisId())
            .append("userName", getUserName())
            .append("phone", getPhone())
            .append("regisTime", getRegisTime())
            .append("payFees", getPayFees())
            .append("courseId", getCourseId())
            .append("status", getStatus())
            .append("education", getEducation())
            .append("emergency", getEmergency())
            .append("gender", getGender())
            .append("uid", getUid())
            .append("studentSource", getStudentSource())
            .toString();
    }
}
